-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove mkl in for MacOS builds #3896
Conversation
@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
@@ -6,6 +6,6 @@ def get_macos_variables(arch_name: str, python_version: str = "3.8") -> list: | |||
] | |||
|
|||
if arch_name != "arm64" and python_version != "3.11": | |||
variables.append("export CONDA_EXTRA_BUILD_CONSTRAINT='- mkl<=2021.2.0'") | |||
variables.append("export CONDA_EXTRA_BUILD_CONSTRAINT='- mkl<=2023.0.0'") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this constraint is there in the first place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done removed MKL constraint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check that it does not introduce changes in binary dependencies (i.e. this change originally was in place to prevent spurious dependency on libmkl_*.so.1
instead of libmkl_*.so
Sounds good will run ldd test on generated binaries |
running otool with this fix on MacOS x86 I see following:
With python 3.9 MacOS x86 without this fix:
Current prod build 3.10 MacOS x86 without this fix using conda-forge:
Running python 3.10 release MacOS Arm64 :
All smoke test are passing however, and everything looks green |
to followup on this, bumping constraint version also produces these dependencies using otool:
Taken from this job: |
Remove mkl constraint to fix MacOS builds
This is used to fail, here is an example: https://github.com/pytorch/test-infra/actions/runs/4431671908/jobs/7774880091